

#import <UIKit/UIKit.h>

#import "UITableView+Tool.h"

#import "UITextField+Tool.h"




#import "MJRefresh.h"



@interface BaseViewController : UIViewController

@property (nonatomic,assign) BOOL hidNav;

@property (nonatomic,copy) void(^eventCallBack)(int key,...);
- (void)noFrameForIos9;//如果需要适配IOS9 调用super或者不重写这个方法  不需要的话需要重写这个方法并且不调用super

- (void)detailUI;

- (void)tableviewResCel;

- (void)getData:(NSInteger)page;

- (void)backUpRootView;

- (void)pushVC:(BaseViewController *)vc;

- (void)IQKeyBoardIsCanNotWork:(NSArray <UITextView *> *)textViewArray;

- (void)setCustomNavWithTitleColor:(UIColor *)titleColor withBackColor:(UIColor *)backColor;

- (void)setNavColor;

- (void)addRightBarItemWithData:(id)data withSEL:(SEL)sel;

- (void)addLeftBarItemWithData:(id)data withSEL:(SEL)sel;

NSString *GetClassStr(NSArray <NSArray <NSString *> *> * arr , NSIndexPath *indexPath);

NSArray <NSString *> * CellArr(NSArray <NSArray <NSString *> *> * arr);

- (void)setButtonState:(UIButton *)button;

@end
